// DriveNotes. Copyright (c) 2011, Andrei Senchuk. All rights reserved.
package net.taviscaron.drivenotes.web.converter;

import java.util.Map;

/**
 * Form converter
 * @author Andrei Senchuk
 */
public abstract class FormConverter<T> {
    public T convert(Map params) throws InvalidFormException {
        return convert(params, "");
    }

    public abstract T convert(Map params, String prefix) throws InvalidFormException;
}
